package cn.edu.csmzxy.rk233x.auth_system.service;
import cn.edu.csmzxy.rk233x.auth_system.dto.UserDTO;
import cn.edu.csmzxy.rk233x.auth_system.entity.SysRole;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import cn.edu.csmzxy.rk233x.auth_system.entity.SysUser;
/**
 * @author wumxing
 * @date 2025/10/15 9:49
 * @description
 */
public interface SysUserService extends IService<SysUser> {
    // 根据用户名查询用户（用于登录认证）
    SysUser getByUsername(String username);
    IPage<SysUser> selectUserPage(Page<SysUser> page, String username);
    void addUser(UserDTO userDTO);
    void updateUser(Long id, UserDTO userDTO);
    void deleteUser(Long id);
}
